import Layout from "@/layouts/index.vue"
import Main from "@/layouts/components/main.vue"
export default [
  {
    path: "/productMain",
    name: "productMain",
    meta: {
      icon: "icon-gongzuotai",
      title: "产品管理",
    },
    component: Layout,
    redirect: "/coursePackageTemplate",
    children: [
      {
        path: "/coursePackageTemplate",
        name: "coursePackageTemplate",
        redirect: "/coursePackage",
        meta: {
          title: "课程包模板",
        },
        component: Main,
        children: [
          {
            path: "/coursePackage",
            name: "coursePackage",
            meta: {
              title: "课程包模板",
              hidden: true,
            },
            component: import("@/views/productManagement/coursePackage/list/index.vue"),
          },
        ],
      },
      {
        path: "/coursePackageManagement",
        name: "coursePackageManagement",
        redirect: "/coursePackageList",
        meta: {
          title: "课程包列表",
        },
        component: Main,
        children: [
          {
            path: "/coursePackageList",
            name: "coursePackageList",
            meta: {
              title: "课程包列表",
              hidden: true,
            },
            component: import("@/views/productManagement/coursePackageList/list/index.vue"),
          },
        ],
      },
    ],
  },
]
